package com.headingdata.overload;

public class MethodOverLoadDemo1 {

    public static void main(String[] args) {
        test(10,12);
    }
    public static void test(){
        System.out.println("====test1=====");
    }
    public static void test(int a){
        System.out.println("===test2===");
    }

    static int test(int a, int b){
        System.out.println("===test3===");
        return a + b;
    }

    static void test(double a){
        System.out.println("===test4===");
        System.out.println(a);
    }

    public static void test(int c, double d){
        System.out.println("===test5===");
    }
}
